Output
public class Output
Constant Summary | |
---|---|
final static int | |
final static int | |
final static int | |
final static int | |
final static int | |
final static int | |
final static int | |
final static int |
Constructor Summary | |
---|---|
void | __construct(str driver) |
Method Summary | |
---|---|
void | ask(Input input, mixed question, mixed default, mixed validator) |
void | |
void | |
void | choice(Input input, mixed question, mixed choices, mixed default) |
protected void | askQuestion(Input input, Question question) |
protected void | block(mixed style, mixed message) |
void | newLine(int count) 输出空行 |
void | writeln(string messages, int type) 输出信息并换行 |
void | write(string messages, bool newline, int type) 输出信息 |
void | |
void | setVerbosity(mixed level) |
void | |
void | isQuiet() |
void | |
void | |
void | isDebug() |
void | describe(mixed object, mixed options) |
public final static int OUTPUT_NORMAL = 0
public final static int OUTPUT_PLAIN = 2
public final static int OUTPUT_RAW = 1
public final static int VERBOSITY_DEBUG = 4
public final static int VERBOSITY_NORMAL = 1
public final static int VERBOSITY_QUIET = 0
public final static int VERBOSITY_VERBOSE = 2
public final static int VERBOSITY_VERY_VERBOSE = 3
public void __construct(str driver)
public void ask(Input input, mixed question, mixed default, mixed validator)
public void askHidden(Input input, mixed question, mixed validator)
public void confirm(Input input, mixed question, bool default)
public void choice(Input input, mixed question, mixed choices, mixed default)
protected void askQuestion(Input input, Question question)
protected void block(mixed style, mixed message)
public void newLine(int count)
输出空行
public void writeln(string messages, int type)
输出信息并换行
public void write(string messages, bool newline, int type)
输出信息
public void renderException(Exception e)
public void setVerbosity(mixed level)
public void getVerbosity()
public void isQuiet()
public void isVerbose()
public void isVeryVerbose()
public void isDebug()
public void describe(mixed object, mixed options)
Class Output